﻿package mortal.component.skin
{
    import com.mui.skins.*;
    import fl.managers.*;
    import mortal.common.global.*;
    import mortal.component.skin.Label.*;
    import mortal.component.skin.button.*;
    import mortal.component.skin.checkBox.*;
    import mortal.component.skin.combobox.*;
    import mortal.component.skin.numericStepper.*;
    import mortal.component.skin.scrollBar.*;
    import mortal.component.skin.scrollPane.*;
    import mortal.component.skin.textArea.*;
    import mortal.component.skin.textInput.*;
    import mortal.component.skin.tileList.*;

    public class GlobalSkin extends Object
    {
        private static var _componentCss:Object = {MountBtn:MountBtnStyle, AddBtn:AddBtnStyle, CloseButton:CloseButtonStyle, picSelectBtn:PicSelectButtonStyle, ButtonNew:ButtonNewStyle, PackButton:PackButtonStyle, RedButton:RedButtonStyle, GroupInviteButton:GroupInviteStyle, GroupButton:GroupButton, PageBtn:PageBtnStyle, TabButton:TabButtonStyle, VipTabButton:VipTabButtonStyle, TabButtonNew:TabarNewStyle, EnterButton:EnterButtonStyle, ChatTabBtn:ChatTabButtonStyle, TaskTrackTabBtn:TaskTrackTabButtonStyle, ChatBtn:ChatButtonStyle, GComboboxStyle:GComboboxStyle, GCheckBox:GCheckBoxStyle, GLabel:GLabelStyle, TileList:GTileListStyle, NumericStepper:NumericStepperStyle, GTextInput:GTextInputStyle, GTextInput2:GTextInputStyle2, GTextInput3:GTextInputStyle3, NoSkinInput:NoSkinInputStyle, NextPageButton:NextPageButtonStyle, NextPageBigButton:NextPageBigButtonStyle, PrevPageButton:PrevPageButtonStyle, PrevPageBigButton:PrevPageBigButtonStyle, BrownBtn:BrownBtnStyle, SliderBtn:SliderBtnStyle, DrugItemBtn:DrugItemStyle, FirstPageButton:FirstPageBtnStyle, LastPageButton:LastPageBtnStyle, GScrollPane:ScrollPaneStyle, chatScrollPane:ChatScrollPaneStyle, ScrollBarNormal:ScrollBarStyle, ScrollBarChat:ScrollBarChatStyle, GRadioButton:GRadioButtonStyle, GTextArea:GTextAreaStyle, TextButton:TextButtonStyle, DownButton:DownButtonStyle, TaskCatogeryBtn:TaskCatogeryStyle, BlueLinkButton:BlueLinkBtnStyle, GreenLinkButton:GreenLinkBtnStyle, GreenLinkButtonSize14:GreenLinkBtnStyleSize14, PetHeadCallbackBtn:PetHeadCallbackBtnStyle, PetHeadOutBtn:PetHeadOutBtnStyle, PetHeadReliveBtn:PetHeadReliveBtnStyle, MiningButton:MiningButtonStyle, TileListQQYellowStyle:GTileListQQYellowStyle};

        public function GlobalSkin()
        {
            return;
        }// end function

        public static function initStyleSkin() : void
        {
            StyleManager.setStyle("textFormat", GlobalStyle.textFormatPutong);
            registerSkin(_componentCss);
            return;
        }// end function

        public static function registerSkin(param1:Object) : void
        {
            var _loc_2:String = null;
            for (_loc_2 in param1)
            {
                
                SkinManager.addStyleSkin(_loc_2, param1[_loc_2]);
            }
            return;
        }// end function

    }
}
